/*
 * @Author: zhang ke
 * @Date: 2025-07-02 10:25:45
 * @LastEditors: your name
 * @LastEditTime: 2025-07-05 10:12:06
 * @Description: 
 * @FilePath: \vue3-admin\src\api\acl\role\type.ts
 */
export interface ResponseData {
    code:number
    message?:string
    ok?:boolean
}

export interface RoleData {
    id?:number | string
    createTime?:string
    updateTime?:string
    roleName?:string
    remark?: null
}
 export type Records = RoleData[]
 export interface RoleResponseData extends ResponseData{
    data:{
         records:Records,
        total:number
        size?:number
        current?:number
        pages?:number
    }
 }

 export interface MenuData {
  id: number
  createTime: string
  updateTime: string
  pid: number
  name: string
  code: string
  toCode: string
  type: number
  status: null
  level: number
  children: []
  select: boolean
}

export type MenuList = MenuData[]

export interface MenuResponseData extends ResponseData {
  data: MenuList
}
